package com.mankind.ssm.service;

import com.mankind.ssm.pojo.Role;
import com.mankind.ssm.pojo.UserRole;

import java.util.List;

/**
 * Created by Mankind on 2017/7/14.
 */
public interface UserRoleService {
    public boolean managerCheck(Integer userId);
    public List<Role> getRoleById(Integer userId);
    public void assignRole(Integer userId, String[] roleIdList);
    public void deleteByUserId(Integer userId);
    public void deleteByRoleId(Integer roleId);
}
